package com.bookmarket.entity;

/**
 * @author Chen Zhaoguang
 * @date 2017/12/26 11:18
 */

/**
 * 用户  优惠券   关系
 */
public class Custom_Discount {
    private int id;
    private Custom custom;//用户外键
    private Discount discount;//优惠券外键
    private int status;//状态(1:可用 2:已用 3:过期)

    public Custom_Discount() {
    }

    public Custom_Discount(int id, Custom custom, Discount discount, int status) {
        this.id = id;
        this.custom = custom;
        this.discount = discount;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public Custom getCustom() {
        return custom;
    }

    public void setCustom(Custom custom) {
        this.custom = custom;
    }

    public Discount getDiscount() {
        return discount;
    }

    public void setDiscount(Discount discount) {
        this.discount = discount;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
